package com.chapter13.MyCollection.MyList.MyLinkList;

public class test {
    public static void main(String[] args) {
        MyStack<String> myStack = new MyStack<String>();
        myStack.push("one");
        myStack.push("two");
        myStack.push("three");
        System.out.println(myStack.pop());
        System.out.println(myStack.peek());
        System.out.println(myStack.pop());
        System.out.println(myStack.peek());

        System.out.println(myStack.isEmpty());

    }
}
